package com.learncloud.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.learncloud.entity.SysMenu;
import com.learncloud.entity.vo.MenuDetailVo;

import java.util.List;

/**
 * <p>
 * 系统菜单表 服务类
 * </p>
 *
 * @author yj
 */
public interface ISysMenuService extends IService<SysMenu> {

    List<MenuDetailVo> getSelfMenus();

    List<MenuDetailVo> getMenuDetailVoList(SysMenu sysMenu);

    Page getPaginationList(Page<SysMenu> sysRolePage, SysMenu sysMenu);

    boolean add(SysMenu sysMenu);

    MenuDetailVo getDetails(Integer id);

    boolean del(Integer id);

}
